package com.qyhl.webtv.module_news.news.jlnews.multi;


import com.qyhl.webtv.commonlib.entity.news.JLCityBean;

import java.util.List;

public class JLMultiNewsPresenter implements JLMultiNewsContract.JLMultiNewsPresenter {
    private JLMultiNewsContract.JLMultiNewsView mView;
    private JLMultiNewsModel mModel;

    JLMultiNewsPresenter(JLMultiNewsContract.JLMultiNewsView mView) {
        this.mView = mView;
        this.mModel = new JLMultiNewsModel(this);
    }

    @Override
    public void getCityList() {
        mModel.getCityList();
    }

    @Override
    public void setCityList(List<JLCityBean> beanList) {
        mView.setCityList(beanList);
    }

    @Override
    public void setError() {
        mView.setError();
    }
}
